package com.qt.thread;

/**
 * @Author zsf
 * @Date 2023/10/3 0:59
 * @Version 1.0
 */
public class SynchronizedDemo01 {

    public static void main(String[] args) {

        MyThreadTicket mtt1 = new MyThreadTicket("窗口1");
        MyThreadTicket mtt2 = new MyThreadTicket("窗口2");
        MyThreadTicket mtt3 = new MyThreadTicket("窗口3");
        mtt1.start();
        mtt2.start();
        mtt3.start();


    }

}
